package com.fauks.ssm.springbyanno.bean;

/**
 * 声明初始化、销毁方法并在配置类中指定
 */
public class Yellow {
    public Yellow() {
        System.out.println("Yellow 实例化");
    }

    public void init() {
        System.out.println("Yellow init");
    }

    public void destroy() {
        System.out.println("Yellow destroy");
    }
}
